package com.yunxi.module.system.job.demo;

import com.xxl.job.core.handler.annotation.XxlJob;
import com.yunxi.framework.tenant.core.job.TenantJob;
import org.springframework.stereotype.Component;

/**
 * <p>
 * 示例
 * </p>
 *
 * @author lidy
 * @since 2024-05-19
 */
@Component
public class DemoJob {

    @XxlJob("demoJob")
    @TenantJob
    public void execute() {
        System.out.println("定时任务执行了。。。");
    }
}
